package com.sc.nft.admin.request;

import com.sc.nft.enums.PledgeTaskRewardTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class AddPledgeTaskRewardRequest {

    @ApiModelProperty("关联名称")
    @NotNull(message = "关联Id不能为空")
    private Long linkId;

    @ApiModelProperty("奖励类型  EQUITY_PROP:权益道具,POINTS:积分,NFT:藏品")
    @NotNull(message = "奖励类型不能为空")
    private PledgeTaskRewardTypeEnum linkType;


    @ApiModelProperty("关联数量")
    @NotBlank(message = "关联数量不能为空")
    private BigDecimal linkCount;

}
